﻿<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%
'************************************
' Powered by ThemePluginEditor 1.1
' zsx http://www.zsxsoft.com
'************************************
%>
<% Option Explicit %>
<% 'On Error Resume Next %>
<% Response.Charset="UTF-8" %>
<!-- #include file="..\..\..\c_option.asp" -->
<!-- #include file="..\..\..\..\zb_system\function\c_function.asp" -->
<!-- #include file="..\..\..\..\zb_system\function\c_system_lib.asp" -->
<!-- #include file="..\..\..\..\zb_system\function\c_system_base.asp" -->
<!-- #include file="..\..\..\..\zb_system\function\c_system_event.asp" -->
<!-- #include file="..\..\..\..\zb_system\function\c_system_manage.asp" -->
<!-- #include file="..\..\..\..\zb_system\function\c_system_plugin.asp" -->
<!-- #include file="..\..\..\plugin\p_config.asp" -->

<%

Call System_Initialize()
'检查非法链接
Call CheckReference("")
'检查权限
If BlogUser.Level>1 Then Call ShowError(6)

BlogTitle="主题配置"
%>
<!--#include file="..\..\..\..\zb_system\admin\admin_header.asp"-->
<script type="text/javascript">
function copydata(This){
	if(navigator.userAgent.search(/ie/i)>-1){
		window.clipboardData.setData("text",$(This).attr("bindtag"));
		alert("复制成功！");
	}
	else{
		prompt("您的浏览器不支持复制，请按下CTRL+C手动复制！",$(This).attr("bindtag"));
	}	
}
</script>
<!--#include file="..\..\..\..\zb_system\admin\admin_top.asp"-->
<div id="divMain">
  <div id="ShowBlogHint"><%Call GetBlogHint()%></div>
  <div class="divHeader"><%=BlogTitle%>-<small><a href="javascript:;" onclick="$('#help,#divMain2').slideToggle();" title="查看/隐藏关于">关于</a></small></div>
  <div id="help" style="display:none"><p>感谢您的支持，意见及反馈请联系：</p><p>腾讯微博：<a href="http://t.qq.com/wdssmq" title="沉冰浮水的微博">http://t.qq.com/wdssmq</a></p><p>QQ：349467624</p><p>捐赠：<a href="http://www.wdssmq.com/zb_users/logos/alipay.jpg" target="_blank" title="wdssmq@qq.com"><img src="https://img.alipay.com/sys/personalprod/style/mc/btn-index.png" width="120" alt="wdssmq@qq.com"></a></p></div>
  <div class="SubMenu"></div>
  <div id="divMain2"> 
    <form action="save.asp" method="post" enctype="multipart/form-data">
    <table width="100%" border="1" width="100%" class="tableBorder">
      <tr>
        <th scope="col" height="32" width="150px">配置项</th>
        <th scope="col">配置内容</th>
        <th scope="col" width="500px">调用代码</th>
      </tr>
			<tr>
      <th scope="row">描述</th>
        <td><textarea name="include_DESCRIPTION.html" style="width:98%"><%=LoadFromFile(BlogPath & "zb_users\theme\pinboard\include\DESCRIPTION.html","utf-8")%></textarea></td>
        <td>&lt;#TEMPLATE_INCLUDE_DESCRIPTION#&gt;<input style="float:right" name="copybutton_DESCRIPTION.html" id="copybutton_DESCRIPTION.html" value="复制" type="button" bindtag="&lt;#TEMPLATE_INCLUDE_DESCRIPTION#&gt;" onclick="copydata(this)"/></td>
      </tr>
      <tr>
        <th scope="row">关键词</th>
        <td><textarea name="include_KEYWORD.html" style="width:98%"><%=LoadFromFile(BlogPath & "zb_users\theme\pinboard\include\KEYWORD.html","utf-8")%></textarea></td>
        <td>&lt;#TEMPLATE_INCLUDE_KEYWORD#&gt;<input style="float:right" name="copybutton_KEYWORD.html" id="copybutton_KEYWORD.html" value="复制" type="button" bindtag="&lt;#TEMPLATE_INCLUDE_KEYWORD#&gt;" onclick="copydata(this)"/></td>
      </tr>
      <tr>
        <th scope="row">LOGO</th>
        <td><input name="include_logo.png" type="file"/></td>
        <td><!--&lt;#TEMPLATE_INCLUDE_LOGO#&gt;-->logo.png<input style="float:right" name="copybutton_logo.png" id="copybutton_logo.png" value="复制" type="button" bindtag="&lt;#ZC_BLOG_HOST#&gt;zb_users/theme/pinboard/include/logo.png" onclick="copydata(this)"/></td>
      </tr>
    </table>
    <input name="ok" type="submit" class="button" value="提交"/>
    </form>
  <script type="text/javascript">ActiveTopMenu("apinboardManage");</script> 
  </div>
</div>
<!--#include file="..\..\..\..\zb_system\admin\admin_footer.asp"-->

<%Call System_Terminate()%>
